php 中<<<的意思

来源:百度知道 编辑:UC知道 时间:2024/05/27 19:05:18
<?php

$stringval = <<<EOSTRING

This is a string with
lots of newline breaks
and I want it to look like this
on
output.

EOSTRING;

echo nl2br($stringval);

?>

比人有更好的回答,我就不多说了,自己看看吧
看不懂可以发HI问我
http://zhidao.baidu.com/question/82455469.html